package com.example.book_system.model;


import lombok.Data;
import lombok.Getter;

import java.math.BigDecimal;

//无状态的对象(谁用都可以)适合交给spring管理
@Data
public class BookInfo {
    private Integer id;
    private String bookName;
    private String author;
    private Integer num;
    private BigDecimal price;
    private String publishName;
    private Integer status;//1-可借阅  2-不可借阅
    @Getter
    private String statusCN;

    public void setStatusCN(String statusCN) {
        this.statusCN = statusCN;
    }

}
